Post

Replies

Boosts

Views

Activity

Reply to Siri not working on iMac 2020
"-[ServiceDelegate listener:shouldAcceptNewConnection:] [Setup] XPC connection rejected due to lack of entitlement." showed by the process "/System/Library/PrivateFrameworks/SiriUI.framework/Versions/A/XPCServices/SiriUISetupXPC.xpc/Contents/MacOS/SiriUISetupXPC " when "Hey Siri" setting crash. Could somebody help?
Aug ’20
Reply to How to solve "Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates." error?
The Notification should be posted from main thread, if your post is post from escaping closure or other asynchronous ways, the warning will show up. to avoid this, you can post the noti from main thread as: DispatchQueue.main.async {                    NotificationCenter.default.post() } hope could help.                 
Oct ’20
Reply to How to solve "Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates." error?
The Notification should be posted from main thread, if your post is post from escaping closure or other asynchronous ways, the warning will show up. to avoid this, you can post the noti from main thread as: DispatchQueue.main.async {                    NotificationCenter.default.post() } hope could help.
Oct ’20